Optimal. Leaf size=206 \[ \frac {(A b-a B) (e x)^{1+m}}{2 a (b c-a d) e \left (a+b x^2\right )}+\frac {(A b (b c (1-m)-a d (3-m))+a B (a d (1-m)+b c (1+m))) (e x)^{1+m} \, _2F_1\left (1,\frac {1+m}{2};\frac {3+m}{2};-\frac {b x^2}{a}\right )}{2 a^2 (b c-a d)^2 e (1+m)}-\frac {d (B c-A d) (e x)^{1+m} \, _2F_1\left (1,\frac {1+m}{2};\frac {3+m}{2};-\frac {d x^2}{c}\right )}{c (b c-a d)^2 e (1+m)} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.26, antiderivative size = 206, normalized size of antiderivative = 1.00, number of steps
used = 5, number of rules used = 3, integrand size = 31, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.097, Rules used = {593, 598, 371}
\begin {gather*} \frac {(e x)^{m+1} \, _2F_1\left (1,\frac {m+1}{2};\frac {m+3}{2};-\frac {b x^2}{a}\right ) (A b (b c (1-m)-a d (3-m))+a B (a d (1-m)+b c (m+1)))}{2 a^2 e (m+1) (b c-a d)^2}-\frac {d (e x)^{m+1} (B c-A d) \, _2F_1\left (1,\frac {m+1}{2};\frac {m+3}{2};-\frac {d x^2}{c}\right )}{c e (m+1) (b c-a d)^2}+\frac {(e x)^{m+1} (A b-a B)}{2 a e \left (a+b x^2\right ) (b c-a d)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 371
Rule 593
Rule 598
Rubi steps
\begin {align*} \int \frac {(e x)^m \left (A+B x^2\right )}{\left (a+b x^2\right )^2 \left (c+d x^2\right )} \, dx &=\frac {(A b-a B) (e x)^{1+m}}{2 a (b c-a d) e \left (a+b x^2\right )}-\frac {\int \frac {(e x)^m \left (2 a A d-A b c (1-m)-a B c (1+m)-(A b-a B) d (1-m) x^2\right )}{\left (a+b x^2\right ) \left (c+d x^2\right )} \, dx}{2 a (b c-a d)}\\ &=\frac {(A b-a B) (e x)^{1+m}}{2 a (b c-a d) e \left (a+b x^2\right )}-\frac {\int \left (\frac {(-A b (b c (1-m)-a d (3-m))-a B (a d (1-m)+b c (1+m))) (e x)^m}{(b c-a d) \left (a+b x^2\right )}+\frac {2 a d (-B c+A d) (e x)^m}{(-b c+a d) \left (c+d x^2\right )}\right ) \, dx}{2 a (b c-a d)}\\ &=\frac {(A b-a B) (e x)^{1+m}}{2 a (b c-a d) e \left (a+b x^2\right )}-\frac {(d (B c-A d)) \int \frac {(e x)^m}{c+d x^2} \, dx}{(b c-a d)^2}+\frac {(A b (b c (1-m)-a d (3-m))+a B (a d (1-m)+b c (1+m))) \int \frac {(e x)^m}{a+b x^2} \, dx}{2 a (b c-a d)^2}\\ &=\frac {(A b-a B) (e x)^{1+m}}{2 a (b c-a d) e \left (a+b x^2\right )}+\frac {(A b (b c (1-m)-a d (3-m))+a B (a d (1-m)+b c (1+m))) (e x)^{1+m} \, _2F_1\left (1,\frac {1+m}{2};\frac {3+m}{2};-\frac {b x^2}{a}\right )}{2 a^2 (b c-a d)^2 e (1+m)}-\frac {d (B c-A d) (e x)^{1+m} \, _2F_1\left (1,\frac {1+m}{2};\frac {3+m}{2};-\frac {d x^2}{c}\right )}{c (b c-a d)^2 e (1+m)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.38, size = 149, normalized size = 0.72 \begin {gather*} -\frac {x (e x)^m \left (a b c (-B c+A d) \, _2F_1\left (1,\frac {1+m}{2};\frac {3+m}{2};-\frac {b x^2}{a}\right )+a^2 d (B c-A d) \, _2F_1\left (1,\frac {1+m}{2};\frac {3+m}{2};-\frac {d x^2}{c}\right )-(A b-a B) c (b c-a d) \, _2F_1\left (2,\frac {1+m}{2};\frac {3+m}{2};-\frac {b x^2}{a}\right )\right )}{a^2 c (b c-a d)^2 (1+m)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.06, size = 0, normalized size = 0.00 \[\int \frac {\left (e x \right )^{m} \left (B \,x^{2}+A \right )}{\left (b \,x^{2}+a \right )^{2} \left (d \,x^{2}+c \right )}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {\left (B\,x^2+A\right )\,{\left (e\,x\right )}^m}{{\left (b\,x^2+a\right )}^2\,\left (d\,x^2+c\right )} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________